﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cofe.Core
{
    [Flags]
    public enum MatchType : int
    {
        None = 0,
        /// <summary>
        /// The current filter is either match this entry, or not supported.        
        /// Return this entry only if all other filter return MatchThisEntry.
        /// </summary>
        MatchThisEntry = 0x1,
        /// <summary>
        /// The current filter determined that the current entry may contains
        /// an entry thats is matched, or this filter does not support this flag at all. 
        /// Lookup subentry only if all other filter return MatchSubEntry.
        /// </summary>       
        MatchSubEntry = 0x2,

        All = MatchThisEntry | MatchSubEntry
    }
}
